export const feildTypeValue: any = {
  1: 'valueContextObj.stringVal',
  2: 'valueContextObj.stringVal',
  3: 'valueContextObj.stringVal',
  4: 'valueContextObj.optionVal.label',
  5: 'valueContextObj.optionsVal',
  6: 'valueContextObj.optionsVal',
  7: 'valueContextObj.stringVal',
  8: '',
  9: 'valueContextObj.fileUploadVal',
  12: 'valueContextObj.comboVal',
  13: 'valueContextObj.optionsVal',
};

export const fixedCombinationCode = {
  piInfo: [
    {
      label: '本中心承担的专业',
      valueProp: 'profession.label',
      prop: 'profession',
    },
    {
      label: '本中心主要研究者',
      valueProp: 'pi.fullLabel',
      prop: 'fullLabel',
    },
    {
      label: '本中心主要研究者职称',
      valueProp: 'titleType',
      prop: 'titleType',
    },
  ],
  sponsorInfo: [
    {
      label: '申办方',
      valueProp: 'orgInfo.label',
      prop: 'sbfLabel',
    },
    {
      label: '申办方联系人',
      valueProp: 'contactName',
      prop: 'sbfContactName',
    },
    {
      label: '申办方联系方式',
      valueProp: 'contactPhone',
      prop: 'sbfcontactPhone',
    },
  ],
  croInfo: [
    {
      label: 'CRO',
      valueProp: 'orgInfo.label',
      prop: 'croLabel',
    },
    {
      label: 'CRO联系人',
      valueProp: 'contactName',
      prop: 'croContactName',
    },
    {
      label: 'CRO联系方式',
      valueProp: 'contactPhone',
      prop: 'croContactPhone',
    },
  ],
  smoInfo: [
    {
      label: 'SMO',
      valueProp: 'orgInfo.label',
      prop: 'smoLabel',
    },
    {
      label: 'SMO联系人',
      valueProp: 'contactName',
      prop: 'smoContactName',
    },
    {
      label: 'SMO联系方式',
      valueProp: 'contactPhone',
      prop: 'smoContactPhone',
    },
  ],
};
